/*
 * *
 *  * Copyright (c) iwindplus Technologies Co., Ltd.2024-2030, All rights reserved.
 *
 *
 */

package com.iwindplus.mgt.domain.vo.system;

import com.iwindplus.base.domain.vo.DbBaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 服务API视图对象.
 *
 * @author zengdegui
 * @since 2020/4/14
 */
@Schema(description = "服务API视图对象")
@Data
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class ServerApiVO extends DbBaseVO {

    /**
     * 控制器名称.
     */
    @Schema(description = "控制器名称")
    private String controllerName;

    /**
     * 请求方式.
     */
    @Schema(description = "请求方式")
    private String requestMethod;

    /**
     * API名称.
     */
    @Schema(description = "API名称")
    private String apiName;

    /**
     * API路径.
     */
    @Schema(description = "API路径")
    private String apiUrl;

    /**
     * 排序号.
     */
    @Schema(description = "排序号")
    private Integer seq;

    /**
     * 是否隐藏.
     */
    @Schema(description = "是否隐藏")
    private Boolean hideFlag;

    /**
     * 服务主键.
     */
    @Schema(description = "服务主键")
    private Long serverId;

}
